package com.lifa.service;

import com.lifa.entity.Huiyuan;

import java.util.List;

public interface  HuiYuanService{
    /**
     * 查询
     * @return
     */
    public List<Huiyuan> chax();

    /**
     * 模糊查询
     * @return
     */
    public long mohchax1(String huiyuan_Name);

    /**
     * 分页，模糊查询
     * @param offset
     * @param limit
     * @return
     */
    public List<Huiyuan> fenyemohchax1(String huiyuan_Name, int offset, int limit);

    /**
     * 添加
     * @param huiyuan
     * @return
     */
    public int tianjia1(Huiyuan huiyuan);

    /**
     * 删除
     * @param huiyuan_Id
     * @return
     */
    public int sc1(int huiyuan_Id);

    /**
     * 修改
     */
    public int xgai(Huiyuan huiyuan);

    /**
     * 根据修改编号
     */
    public Huiyuan xgaiid(int huiyuan_Id);

    /**
     * 根据会员名称和会员积分修改
     */
    public int jifenxgai1(Huiyuan huiyuan);
    /**
     * 修改金额
     */
    public int  xiugaijine(int huiyuan_Jifen,int huiyuan_Id);
}
